enum Role {
  user = "user",
  admin = "admin"
}
export type RoleType = "" | "*" | Role[]
export interface UserState {
  id?: string //知晓云的id为string类型，与mysql不同
  username?: string
  name?: string
  avatar?: string
  job?: string
  organization?: string
  location?: string
  email?: string
  introduction?: string
  personalWebsite?: string
  jobName?: string
  organizationName?: string
  locationName?: string
  phone?: string
  registrationDate?: string
  accountId?: string
  certification?: number
  roles: RoleType[]
}
